package com.stadium;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableAsync// 开启异步
@EnableSwagger2 // 启动swagger注解
@MapperScan("com.stadium.mapper")
public class SmartStadiumApplication {

    public static void main(String[] args) {
        SpringApplication.run(SmartStadiumApplication.class, args);
    }

}
